Skip to content

Conversation

@leolost2605
Copy link
Member

@leolost2605 leolost2605 commented Jan 9, 2025

This adds a tools folder and there a python script that will cleanup all old #if #else etc. blocks up until a specified version.
It can do this either for all .vala and .vapi files in a directory and its subdirectories or for a single file.

The script is then used to remove all blocks supporting mutter <= 44.

I'm not sure whether something else still has to be updated?
Once this is merged I'll add a wiki entry detailing how to do this in the future :)

Use rebase to merge

@leolost2605 leolost2605 force-pushed the leolost/cleanup-old-mutter branch from 64f3865 to 8f2714d Compare January 9, 2025 00:28
@leolost2605 leolost2605 force-pushed the leolost/cleanup-old-mutter branch 2 times, most recently from b4c06f3 to f0344ab Compare March 12, 2025 20:01
@leolost2605 leolost2605 marked this pull request as ready for review March 12, 2025 20:02
@leolost2605 leolost2605 requested a review from a team March 12, 2025 20:03
Copy link
Member

@tintou tintou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's time!

@leolost2605 leolost2605 force-pushed the leolost/cleanup-old-mutter branch from f0344ab to 6a41b92 Compare March 13, 2025 11:44
@leolost2605 leolost2605 merged commit 6065aa2 into main Mar 13, 2025
5 checks passed
@leolost2605 leolost2605 deleted the leolost/cleanup-old-mutter branch March 13, 2025 11:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants